home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 5657 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  686 b 

  1. Path: fig.leba.net!not-for-mail
  2. From: fweaver@leba.net
  3. Newsgroups: comp.lang.c
  4. Subject: Re: fopen not working
  5. Date: 20 Feb 1996 00:28:10 -0500
  6. Organization: LebaNet, Lebanon PA
  7. Sender: fweaver@fig.leba.net
  8. Message-ID: <4gbm5a$o0e@fig.leba.net>
  9. NNTP-Posting-Host: fig.leba.net
  10.  
  11. >The relevant thing is the newline character at the end. Your operating
  12. >system is probably like most others in that a newline is not a valid
  13. >part of a file name.
  14.  
  15.    That was the problem. I now search the string for the new line 
  16. character, and replace it with 0 (null). Fopen works like it was suppose to.
  17.  
  18. Floyd Weaver
  19.  
  20. Internet E-Mail    fweaver@leba.net
  21. Home page          http://www.leba.net/~fweaver
  22.  
  23.